<div id="header_menu">
    <?foreach($this->items as $item):?>
        <?if($item->url != '/'):?>
            <a href="<?=Yii::app()->createUrl($item->url)?>" title="<?=$item->title?>"><?=$item->title?></a>
        <?else:?>
            <a href="/" title="<?=$item->title?>"><?=$item->title?></a>
        <?endif?>
    <?endforeach?>
</div>